package com.fortune.service;

import com.faneui.common.exception.BusinessException;
import com.fortune.dal.model.Card;

import java.util.List;

public interface CardService {

    void addCard(Card card) throws BusinessException;

    void modifyCard(Card card) throws BusinessException ;

    Card queryCard(Integer cardId)throws BusinessException ;

    List<Card> queryCardList(Card card)throws BusinessException ;

    List<Card> queryCardListByCustId(Integer custId)throws BusinessException ;

}
